package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * IC卡信息表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@TableName("c_ic_cards_info")
@ApiModel(value = "CIcCardsInfo对象", description = "IC卡信息表")
@Data
public class CIcCardsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("卡ID（厂唯一）")
    private BigDecimal cardinfId;

    @ApiModelProperty("卡号（厂唯一）")
    private String cardinfCardno;
    @ApiModelProperty("卡号别名")
    private String cardinfAlias;
    @ApiModelProperty("牌号/密码，根据卡类型CLASS分辨是牌号还是密码")
    private String cardinfTruckPwd;

    @ApiModelProperty("收货单位（姓）")
    private String cardinfCo;

    @ApiModelProperty("收货单位（名），或子单位")
    private String cardinfChiCo;

    @ApiModelProperty("供货单位（姓）")
    private String cardinfCoSupply;

    @ApiModelProperty("供货单位（名），或子单位")
    private String cardinfChicoSupply;

    @ApiModelProperty("运输单位（姓）")
    private String cardinfCoTran;

    @ApiModelProperty("运输单位（名），或子单位")
    private String cardinfChicoTran;

    @ApiModelProperty("首选品种，若不为空，刷时自动选择并锁定")
    private String cardinfPreferPdt;

    @ApiModelProperty("卡类型，附卡（绑定车号）、附卡（绑定密码）、进货卡（绑定车号）、进货卡（绑定密码）")
    private String cardinfType;

    @ApiModelProperty("修改时间")
    private String cardinfModifyTm;

    @ApiModelProperty("修改时间数")
    private BigDecimal cardinfModifyTmNum;

    @ApiModelProperty("修改原因")
    private String cardinfModifyReason;

    @ApiModelProperty("免皮重的皮重值")
    private BigDecimal cardinfTare;

    @ApiModelProperty("0.不使能 1.使能（代扣型卡，表示出货类卡，运输单位持卡，每次消费时，手动选择最终消费单位，从最终消费单位上进行扣费。考虑到资金安全，代扣型卡，只能系统使用单位或持最终单位授权令牌进行消费）")
    private BigDecimal cardinfAgent;

    @ApiModelProperty("操作员")
    private String cardinfOperator;

    @ApiModelProperty("操作时间")
    private LocalDateTime cardinfOperTime;

    @ApiModelProperty("服务器更新时间戳")
    private LocalDateTime svrTmstamp;

    @ApiModelProperty("客户端更新时间戳")
    private LocalDateTime cliTmstamp;

    @ApiModelProperty("免皮，就是单次计量")
    private Integer cardinfExcuseTare;

    @ApiModelProperty("IC卡已经发放")
    private Integer cardinfPutouted;

    @ApiModelProperty("已挂失")
    private Integer cardinfReportLost;

    @ApiModelProperty("数据记录中，卡号可以相同，但只有一张为有效卡")
    private Integer cardinfCurValid;

    @ApiModelProperty("离线模式数据已导出标记")
    private Integer cardinfTempout;

    @ApiModelProperty("已删除")
    private Integer cardinfDeleted;

    @ApiModelProperty("新纪录或上传服务器后又被更新过标记")
    private Integer cardinfNew;

    @ApiModelProperty("其他标记")
    @TableField("DownedID1")
    private Integer downedID1;
@TableField("DownedID2")
    private Integer downedID2;
@TableField("DownedID3")
    private Integer downedID3;
@TableField("DownedID4")
    private Integer downedID4;
@TableField("DownedID5")
    private Integer downedID5;
@TableField("DownedID6")
    private Integer downedID6;
@TableField("DownedID7")
    private Integer downedID7;
@TableField("DownedID8")
    private Integer downedID8;
@TableField("DownedID9")
    private Integer downedID9;
@TableField("DownedID10")
    private Integer downedID10;
@TableField("DownedID11")
    private Integer downedID11;
@TableField("DownedID12")
    private Integer downedID12;
@TableField("DownedID13")
    private Integer downedID13;
@TableField("DownedID14")
    private Integer downedID14;
@TableField("DownedID15")
    private Integer downedID15;
@TableField("DownedID16")
    private Integer downedID16;
@TableField("DownedID17")
    private Integer downedID17;
@TableField("DownedID18")
    private Integer downedID18;
@TableField("DownedID19")
    private Integer downedID19;
@TableField("DownedID20")
    private Integer downedID20;

    @ApiModelProperty("数据来源厂区")
    private String dataFrom;

}
